package com.woniuxy.controller.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("维修信息查询表单")
public class RepairInfoForm {
    @ApiModelProperty("当前页数")
    private Long current;
    @ApiModelProperty("每页个数")
    private Long size;

    //form
    @ApiModelProperty("维修单状态")
    private Integer repairState;
    @ApiModelProperty("维修区域")
    private Integer repairArea;
    @ApiModelProperty("维修项目")
    private Integer repairType;
    @ApiModelProperty("承修单位")
    private Integer repairUnit;
    @ApiModelProperty("内容模糊查询")
    private String contentLike;
    @ApiModelProperty("名字或电话模糊查询")
    private String nmsl;
    private String pNameOrPhoneLike;
    @ApiModelProperty("查询时间区间")
    @JsonProperty
    private List<String> dateInterval;

}
